c05pbf

c05pbf © Numerical Algorithms Group, 2002.

Purpose

C05PBF Solution of system of nonlinear equations using 1st derivatives (easy-to-use)

Synopsis

[x,fvec,fjac,ifail] = c05pbf(fcn,x<,xtol,ifail>)

Description

 
 The system of equations is defined as:
 
                 f (x ,x ,...,x )=0, i=1,2,...,n.
                  i  1  2      n
 
 C05PBF is based upon the MINPACK routine HYBRJ1. It chooses the 
 correction at each step as a convex combination of the Newton 
 and scaled gradient directions. Under reasonable conditions 
 this guarantees global convergence for starting points far from 
 the solution and a fast rate of convergence. The Jacobian is 
 updated by the rank-1 method of Broyden. At the starting point 
 the Jacobian is calculated, but it is not recalculated until 
 the rank-1 method fails to produce satisfactory progress.
 

Parameters

c05pbf

Required Input Arguments:

fcn                                   function (User-Supplied)
x (:)                                 real

Optional Input Arguments:                       <Default>

xtol                                  real     sqrt(eps)
ifail                                 integer  -1

Output Arguments:

x (:)                                 real
fvec (:)                              real
fjac (:,:)                            real
ifail                                 integer